package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
* @author zg
*/
@Data
@ApiModel(value = "新增环节表单信息入参", description = "新增环节表单信息入参")
public class AutoflowStepFormAddReq {
    /**
     * 环节id
     */
    @NotNull(message = "环节id不能为空")
    @ApiModelProperty(value = "环节id")
    private Long stepId;

    /**
     * 表单信息
     */
    @NotEmpty(message = "表单信息不能为空")
    @ApiModelProperty(value = "表单信息")
    private List<AutoflowStepFormAddSubReq> formInfo;

}
